﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zocono.WCS.Infrastructure.ApllicationDto.Enums
{
    /// <summary>
    /// 任务执行状态，任务在执行中的状态
    /// 0 初始状态
    /// 1 巷道重分配
    /// 2 货位分配
    /// 3 货位重分配
    /// 4 下架堆垛机卸载完成
    /// 10 卸载占位异常
    /// 11 卸载双升位外侧占位异常
    /// 12 装载取空异常
    /// 13 装载双深为外侧占位异常
    /// </summary>
    public enum EnumTaskProcessState
    {
        /// <summary>
        /// 初始状态
        /// </summary>
        [Description("初始状态")]
        Initial = 0,
        /// <summary>
        /// 巷道重分配
        /// </summary>
        [Description("巷道重分配")]
        ReAllotAisle = 1,
        /// <summary>
        /// 货位分配
        /// </summary>
        [Description("货位分配")]
        AllotLocation = 2,
        /// <summary>
        /// 货位重分配
        /// </summary>
        [Description("货位重分配")]
        ReAllotLocation = 3,
        /// <summary>
        /// 下架堆垛机卸载完成
        /// </summary>
        [Description("下架堆垛机卸载完成")]
        ScUnloaded = 4,
        /// <summary>
        /// 下架堆垛机卸载完成
        /// </summary>
        [Description("到达目标位完成")]
        PlanerCompleted = 5,
        /// <summary>
        /// 卸载占位异常
        /// </summary>
        [Description("卸载占位异常")]
        ErrorOccupied = 10,
        /// <summary>
        /// 卸载双升位外侧占位异常
        /// </summary>
        [Description("卸载双升位外侧占位异常")]
        ErrorUnloadOutsideOccupied = 11,
        /// <summary>
        /// 装载取空异常
        /// </summary>
        [Description("装载取空异常")]
        ErrorEmptyLoad = 12,
        /// <summary>
        /// 装载双深为外侧占位异常
        /// </summary>
        [Description("装载双深为外侧占位异常")]
        ErrorLoadOutsideOccupied = 13
    }
}
